import {changeContent} from "util"
import {fetchData} from "data"
let users = fetchData()
let content = `<ul>${users.map(e => `<li>${e.name}-${e.age}</li>`).join('')}</ul>`
changeContent('content', content)